<template>
	<view class="top">
		<view class="status_bar">

		</view>
		<view class="wx-nav text-color-h ">
			<view class="iconfont icon-xiaoxi"></view>
			<view class="input-view" @tap="search">
				<input type="text" disabled="true" placeholder="点击搜索" />
			</view>
			<!-- <view class="iconfont icon-richscan_icon"></view> -->
		</view>
	</view>
</template>
<script>
	export default{
		methods:{
			search(){
				uni.navigateTo({
					url:"../../pages/search/search"
				})
			}
		}
	}
</script>
<style lang="less">
	.top{
		position: fixed;
		top: 0;
		left: 0;
		z-index: 999999;
		background-color: #FFFFFF;
		width: 100%;
		padding-bottom: 20rpx;
	}
	.status_bar {
		height: var(--status-bar-height);
		width: 100%;
	}

	.wx-nav {
		display: flex;
		font-size: 22rpx;
		.icon-xiaoxi{
			font-size: 40rpx;
			width: 15%;
			display: flex;
			align-items: center;
			justify-content: center;
		}
		.input-view {
			display: flex;
			align-items: center;
			width: 100%;
			input {
				background-color: #F1F1F1;
				color: #CCCCCC;
				display: flex;
				align-items: center;
				font-size: 25rpx;
				border-radius: 50rpx;
				padding: 10rpx 10rpx;
				width: 62%;
			}
			input:before{
				font-family: "iconfont" !important; //一定要设置font-family：“iconfont”不然字体无法出来
				content: "\e6e3"; //要是用Unicode格式，原生的是&#xe6e3而我们在content要把前面的&#x去掉，并加上一个\即可
				color: #CCCCCC;
				margin-right: 20rpx;
				margin-left: 20rpx;
			}
			
		}
		.icon-richscan_icon {
			font-size: 40rpx;
			
		}


	}
</style>
